<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<title></title>
		<link rel="stylesheet" type="text/css"
			href="${contextPath}/resource/css/default.css" />
		<script src="${contextPath}/resource/js/index.js"></script>
		<script src="${contextPath}/resource/js/menu.js"></script>
		
		
	<script language="javascript" type="text/javascript">

		</script>
		
	</head>

	<body onload="updateTrColor()">
		<table class="menu_table">
			<tr>
				<th>
					角色管理&gt;&gt;角色列表
				</th>
			</tr>
		</table>
			<div class="listtable">
<div class="secondDiv">
		<table class="data_js_table" id="js_table">
			<tr>
			<div style="margin-top: 5px; margin-left:20px;">
				<s:token></s:token>
				<input type="button" onclick="javascript:location='rolegroupAction_add.do'" value="新增角色" />
			</div>
			</tr>
			<tr>
				<th width="15%">
					角色名字
				</th>
				<th width="10%">
					是否有效
				</th>
				<th width="10%">
					系统默认
				</th>
				<th width="15%">
					创建人
				</th>
				<th width="20%">
					描述
				</th>
				<th>
					操作
				</th>
			</tr>
			<s:iterator value="listRolegroup" var="rolegroup">
					<tr>
						<td class="VTSMA">
							<s:property value="#rolegroup.name" />
						</td>
						<td>
							<s:if test="#rolegroup.isactivate==1">是</s:if>
							<s:else>否</s:else>
						</td>
						<td>
							<s:if test="#rolegroup.isSystem==1">是</s:if>
							<s:else>否</s:else>
						</td>
						
						<td>
							<s:property value="#rolegroup.userId" />
						</td>
						<td>
							<s:property value="#rolegroup.descriptions" />
						</td>
						<td>
							<a href="rolegroupAction_edit.do?rolegroup.id=<s:property value="#rolegroup.id" />"" >修改</a>&nbsp;|&nbsp;
							<a href="javascript:void(0)" onclick="isPost('确认删除?','rolegroupAction_delete.do?rolegroup.id=<s:property value="#rolegroup.id" />')">删除</a>
						</td>
					</tr>
			</s:iterator>
		</table>
		</div>
		</div>
	</body>
</html>
